﻿using System.Windows;
using System.Windows.Controls;

namespace CustomControls;

/// <summary>
///     Loading.xaml 的交互逻辑
/// </summary>
public partial class Loading : UserControl
{
    public static readonly DependencyProperty MessageProperty = DependencyProperty.Register(
        "Message",
        typeof(string),
        typeof(Loading),
        new PropertyMetadata("正在处理")
    );

    public Loading()
    {
        InitializeComponent();
    }

    public string Message
    {
        get => (string)GetValue(MessageProperty);
        set => SetValue(MessageProperty, value);
    }
}